﻿using FluentNHibernate.Mapping;

namespace LumenLiquid.Database.Mappings
{
    internal sealed class PropertiesMap:ClassMap<Entities.Settings.Property>
    {
        public PropertiesMap()
        {
            LazyLoad();

            Table("properties");
            Id(id => id.Id).Column("id").GeneratedBy.Assigned();
            Map(m => m.SettingValue).Column("value");
        }
    }
}
